<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.Master" AutoEventWireup="true" CodeBehind="Search.aspx.cs" Inherits="eCommerce.Site.Search" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
<div class="contentmain">
<h1>Search Results</h1>
<p></p>
  <asp:GridView ID="gridView" runat="server" AutoGenerateColumns="false" OnPageIndexChanging="GridPageIndexChanging" AllowPaging="True" AllowSorting="True" PageSize="40" CellPadding="4" ForeColor="#333333" GridLines="None"  CssClass="gridtableWish" Width="656px" >
    <FooterStyle BackColor="#5D7B9D" Font-Bold="True" ForeColor="White" />
                    <EmptyDataTemplate>
                        <span style="color: #333333; font-size: 14px;">No results were found that match your
                            search please try again.</span>
                    </EmptyDataTemplate>
                    <Columns>                                            
                      <asp:TemplateField HeaderText="">
                            <ItemTemplate>
                                <a style=" padding-top:5px; color: #747474; text-decoration: none;" href='Product.aspx?i=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'>
                                <img src="product/example/example.jpg" height="60px"
                                    alt="<%# DataBinder.Eval(Container.DataItem, "ProductName")%>" /></a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        
                        <asp:TemplateField HeaderText="Name">
                            <ItemTemplate>
                                <a style="text-decoration: none;" href='Product.aspx?i=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'>
                                    <%# DataBinder.Eval(Container.DataItem, "ProductName")%></a>
                            </ItemTemplate>
                        </asp:TemplateField>
                        
                         <asp:TemplateField HeaderText="">
                            <ItemTemplate>
                                <a href='Product.aspx?i=<%# DataBinder.Eval(Container.DataItem, "ProductID") %>'>
                                    View Product</a>
                            </ItemTemplate>
                        </asp:TemplateField>
                    </Columns>
                    <RowStyle BackColor="#F7F6F3" ForeColor="#333333" HorizontalAlign="Center" CssClass="TableRowSm" />
	<EditRowStyle BackColor="#D1D1D1" />
	<SelectedRowStyle BackColor="#F7F7F7" Font-Bold="True" ForeColor="#333333" />
	<PagerStyle BackColor="#747474" ForeColor="White" HorizontalAlign="Center" />
	<HeaderStyle BackColor="#747474" Font-Bold="True" Height="25px" HorizontalAlign="Center" ForeColor="White" />
	<AlternatingRowStyle BackColor="White" ForeColor="#081439" />
                </asp:GridView>  
</div>
</asp:Content>
